var PlayerInfo = Backbone.Model.extend({
  setPlayer: function(data_in) {
    this.set({data: data_in});
  }
});

gameData.playerInfo = new PlayerInfo;

gameData.playerInfo.set("data", "");

gameData.playerInfo.on('player_info:show_player_data', function() {
  $('#player_info_text').text("Data om " + this.data);
}, this);